
			 <?
			 
			  $gp = $preview_temp[time() % count($preview_temp)]
			  
			  ?>
			 <table cellpadding="5" cellspacing="5">
				 <tr>
					 <td valign="top" width="280">
					 <font size=2 color="<?= $h1_text ?>" face="Verdana, Arial, Helvetica, sans-serif"><b>Unlimited Downloads</b></font>
					 <br>
					 <font color="#666666">
					 With NZFree, all downloads of movies, images and more 
					 are absolutely free! Subscribe now for an access package 
					 to get THOUSANDS of free pictures music and more!!
					 </font>
					 <br><br>
					 
					 <table cellpadding="0" cellspacing="0" style='border:solid 1px silver'>
					 <tr>
					    <td colspan=2 style='padding:2px;border-bottom:solid 1px silver;border-top:solid 1px white'>
						<font size=2 color="<?= $h1_text ?>" face="Verdana, Arial, Helvetica, sans-serif"><b>Featured Groups</b></font>
						</td>
					 </tr>
					 <?
					 	$nntp = new NNTP($nntp_server, $user, $pass);    
						if (!$nntp->connect()) 
						{ 
							header("Content-Error: " . $nntp->get_error_message());
							echo "<b>".$messages_ini["error"]["nntp_fail"]."</b><br>"; 
							echo $nntp->get_error_message()."<br>"; 
						} 
						else
						{
							 for ($e=0;$e<count($preview_temp)&&$e<6;$e++)
							 {
								$gl=$preview_temp[$e];
								if ($gi=$nntp->join_group($gl))
								{ 
										 print "<tr bgcolor='whitesmoke'>
										 <td style='padding:2px;border-bottom:solid 1px silver;border-top:solid 1px white' nowrap>
											 <a href='".$href."?g=".$gl."'>".$gl."</a>
										 </td>
										 <td align=right style='padding:2px;border-bottom:solid 1px silver;border-top:solid 1px white'>
											 <a>".$gi["count"]."</a>
										 </td>
											  </tr>";
								}
								else
								{
									#echo "<b>".$messages_ini["error"]["group_fail"].$gl." </b><br>"; 
									#echo $nntp->get_error_message()."<br>";  
								}   
							 } 
						 }
						 $nntp->quit();
					 ?>
					 <tr>
					    <td colspan=2 align='center'>
						 <font size=1 color="#CCCCCC">
						 Click any group name to log into that newsgroup now!
						 </font>
						</td>
					 </tr>
					 </table>
					 
					 
					 </td>
					 <td><div id='dpreview' 
					          style="width:360;
							         height:240;
									 border:solid 1px silver;
									 overflow:hidden;
									 filter: progid:DXImageTransform.Microsoft.RandomDissolve();">
					   <img id='ipreview' 
					        border='0' 
							onclick='group_from_image(this.src)'
							onload="doTrans()" 
							src="newsgroups.php?message_id=X&gp=1&art_group=alt.binaries.models&pp_w=360&pp_y=220&pp_x=6&pp_s=16"
									  >
					 </div></td>
				 </tr>
			 </table>
			 
					<!--
		 <br><br>
		 <div align="center">
		 <font size=2 color="<?= $h1_text ?>" face="Verdana, Arial, Helvetica, sans-serif"><b>Popular Newsgroups</b></font>
		 </div>
			 <table cellpadding="1" cellspacing="10" align="center">
				 <tr>
				 <? /*
				 $cnt=0;
				 $trp="";
				 $trc="";
				 for ($e=0;$e<count($preview_temp);$e++)
				 {
				    $tmp=$preview_temp[$e]; 
						$cnt++;
						if ($cnt<6&&$e==count($preview_temp)-1)
						{
						   $e=0;
						}
						else if ($cnt>6)
						{
						   break;
						}
						$caption = preg_replace (
						  array("/alt|b[a]*inaries|multimedia|nospam|erotic[a]*|nonude|/i","/\./"),
						  array (""," ") ,
						  $tmp
						 );
						 $caption = chop_str($caption, 25);
						 $trp .= "<td style='border:solid 1px #c0c0c0' bgcolor='".$thumbnail_bg."'>
						 <a href='".$href."?g=".$tmp."'
						  ><img border='0' src='newsgroups.php?message_id=Z&gp=1&art_group=".$tmp."&pp_w=90&pp_y=20&pp_x=6&pp_s=8'></a>
								</td>";
						 $trc .= "<td align=center width=90><a href='".$href."?g=".$tmp."'><small>".$caption."</small></td>";
				 }
				 
				 print "<tr>".$trp."</tr>";
				 print "<tr>".$trc."</tr>";
				 */
				 ?>
				 
			 </table>
			  -->
			 <table width="100%" bgcolor="<?= $strip_color ?>">
			 <tr><td>
			 <font size=2 face="Verdana, Arial, Helvetica, sans-serif" color="<?= $sidebar_text ?>"><b>My NZFree</b></font>
			 </td></tr>
			 </table>
			 
			 <table cellpadding="5" cellspacing="5">
			 <tr>
			   <td width='33%' valign="top"> 
			   
					 <table cellpadding="0" cellspacing="0" style='border:solid 1px silver'>
					 <tr>
					    <td colspan=2 style='padding:2px;border-bottom:solid 1px silver;border-top:solid 1px white'>
						<font size=2 color="<?= $h1_text ?>" face="Verdana, Arial, Helvetica, sans-serif"><b>Subscriped Newsgroups</b></font>
						</td>
					 </tr>
					 <? subscribed_groups () ?>  
					 </table>
			   </td> 
			   
			   <td width='33%' style='border-left:solid 1px silver' valign="top" align="center"> 
			      <? bookmarked_articles ()?>
			   </td>
			   
			   
			   <td width='33%' style='border-left:solid 1px silver' valign="top">
				  <? registered_servers () ?>
			   </td>
			 </tr>
			 </table>
			 
			 
			 
			 
			 
			 
			 